$OpenBSD: patch-spider_c,v 1.3 2017/04/16 10:59:51 espie Exp $
--- spider.c.orig	Sat Sep 28 19:46:12 1991
+++ spider.c	Sun Apr 16 12:09:09 2017
@@ -17,7 +17,7 @@
 #include	"defs.h"
 #include	"globals.h"
 #include	<ctype.h>
-
+#include <stdlib.h>
 static void	fix_coords();
 
 int 	deltamod = 0;
@@ -218,6 +218,7 @@ int	num;
 /*
  * deal hand of 10
  */
+void
 deal_next_hand(log)
 Bool	log;
 {
@@ -619,7 +620,7 @@ Type	type;
 
 	return (type_names[type]);
 }
-#endif DEBUG
+#endif
 
 
 /*
@@ -936,6 +937,7 @@ char	buf[128];
 /*
  * print cards in list
  */
+void
 expand(list)
 CardList	list;
 {
